﻿namespace HeroldIT.Dnn.Modules.News.SqlProvider
{
    public partial class NewsEntry
    {
        public void Fill(NewsEntry modified)
        {
            this.Categories = modified.Categories;
            this.DisplayDate = modified.DisplayDate;
            this.DisplayOrder = modified.DisplayOrder;
            this.Headline = modified.Headline;
            this.IsHidden = modified.IsHidden;
            this.IsSticky = modified.IsSticky;
            this.PublishOn = modified.PublishOn;
            this.PublishUntil = modified.PublishUntil;
        }
    }
}
